#pragma once

#include <fmod.hpp>
#include <fmod_errors.h>
#pragma  comment( lib, "fmodex_vc.lib" )

class cSound
{

public:
	cSound(void);
	~cSound(void);
	
	void LoadSoundAll( );	
	void ERRCHECK( FMOD_RESULT result );
	void PlaySound( char* sound_name );
	void DeleteSound( );

public:
	FMOD::System		 * System;

private: 
	FMOD::Sound		 * initSound;
	FMOD::Sound		 * Stage_1_Sound;
	FMOD::Sound		 * fireSound;
	FMOD::Sound		 * laserSound;
	FMOD::Sound		 * DestroySound;
	FMOD::Sound		 * explosionSound; 
	FMOD::Channel	 * channel;
};
